package xj.toolkit.netty.handler.codec.http.transformer;

import org.apache.commons.collections4.Transformer;

import io.netty.handler.codec.http.FullHttpRequest;

public interface HttpRequestTransformer extends Transformer<FullHttpRequest, Object> {

	public static final int MISS_REQUIERD_ATTR_CODE = 450;
	public static final String MISS_REQUIERD_ATTR_DESC = "MISS_REQUIRED_ATTR";

	public static final int INVALID_REQUIERD_ATTR_CODE = 451;
	public static final String INVALID_REQUIERD_ATTR_DESC = "INVALID_REQUIRED_ATTR";

	public static final int UNKNOWN_CONTENT_TYPE_CODE = 452;
	public static final String UNKNOWN_CONTENT_TYPE_DESC = "UNKNOWN_CONTENT_TYPE";

	public static final int EMPTY_CONTENT_CODE = 453;
	public static final String EMPTY_CONTENT_DESC = "EMPTY_CONTENT";
}
